home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #1 / Amiga Plus 1995 #1.iso / fish-disketten / fish_651-660 / d651 / 501 / fontmover < prev    next >
AmigaDOS Script File  |  1994-12-13  |  2KB  |  89 lines

  1. .key ""
  2. echo "This script will check to see if you have the necessary"
  3. echo "fonts in your Fonts directory and if not copy them there."
  4. echo "If you wish to exit without making any changes"
  5. echo "answer no (type n and hit RETURN) at both prompts."
  6. echo ""
  7. ask "Should I write to your Fonts directory? Y/N"
  8. if warn
  9.    echo "Verifying fonts directory"
  10.    if not exists Sys:Fonts/Helvetica
  11.     makedir Sys:Fonts/Helvetica
  12.     copy Fonts/Helvetica Sys:Fonts/Helvetica all
  13.    else
  14.     if not exists Sys:Fonts/Helvetica/24
  15.         copy Fonts/Helvetica/24 Sys:Fonts/Helvetica/24
  16.     endif
  17.     if not exists Sys:Fonts/Helvetica/9
  18.         copy Fonts/Helvetica/9 Sys:Fonts/Helvetica/9
  19.     endif
  20.    endif
  21.    if not exists Sys:Fonts/Helvetica.Font
  22.     copy Fonts/Helvetica.font Sys:Fonts/Helvetica.font
  23.    endif
  24.    if not exists Sys:Fonts/Basic
  25.     makedir Sys:Fonts/Basic
  26.     copy Fonts/Basic Sys:Fonts/Basic all
  27.    else
  28.     if not exists Sys:Fonts/Basic/32
  29.         copy Fonts/Basic/32 Sys:Fonts/Basic/32
  30.     endif
  31.    endif
  32.    if not exists Sys:Fonts/Basic.font 
  33.     copy Fonts/Basic.font Sys:Fonts/Basic.font
  34.    endif
  35.    if not exists Sys:Fonts/ruby
  36.     makedir Sys:Fonts/ruby
  37.     copy Fonts/ruby Sys:Fonts/ruby all
  38.    else
  39.     if not exists Sys:Fonts/Ruby/8
  40.         copy Fonts/ruby/8 Sys:Fonts/ruby/8
  41.     endif
  42.     if not exists Sys:Fonts/Ruby/12
  43.         copy Fonts/ruby/12 Sys:Fonts/ruby/12
  44.     endif
  45.     if not exists Sys:Fonts/ruby/15
  46.         copy Fonts/ruby/15 Sys:Fonts/ruby/15
  47.     endif    
  48.    endif
  49.    if not exists Sys:Fonts/ruby.font
  50.     copy Fonts/ruby.font Sys:Fonts/ruby.font
  51.    endif
  52.   if not exists Sys:Fonts/Script
  53.     makedir Sys:Fonts/Script
  54.     copy Fonts/Script Sys:Fonts/Script all
  55.   else
  56.     if not exists Sys:Fonts/Script/16
  57.         copy Fonts/Script/16 Sys:Fonts/Script/16
  58.     endif
  59.   endif
  60.   if not exists Sys:Fonts/Script.font
  61.     copy Fonts/Script.font Sys:Fonts/Script.font
  62.   endif
  63.    echo "Everything went smoothly."
  64.    echo "Just click on the 501-The_Game icon"
  65.    echo "and shoot good darts!"
  66.  
  67. else
  68.    echo ""
  69.    echo "O.K."
  70.    echo "Should I put the necessary fonts in RAM"
  71.    echo "Don't forget this is only temporary."
  72.    ask "Y/N"
  73.    if warn
  74.     copy Fonts Ram:501Fonts all
  75.    endif
  76.     echo "Assigning Fonts to Ram:501Fonts"
  77.        assign Fonts: RAM:501Fonts
  78.     echo "Everything is now ready"
  79.     echo "Enjoy your game!"
  80.     echo "Later, open the Shell and type Assign Fonts:"
  81.     echo "Then type Delete RAM:501Fonts All"
  82.     echo "and your system will be back to normal."
  83.   else
  84.     echo "Exiting safely. No changes made."
  85.   endif
  86. endif
  87. echo "Click close gadget"
  88. endcli
  89.